package com.itic.system.user.user.persistence.dao;

import com.itic.appbase.framework.common.annotation.IticDBDao;
import com.itic.appbase.framework.common.persistence.dao.CrudDao;
import com.itic.system.user.user.persistence.basedao.HppUserMapper;
import com.itic.system.user.user.persistence.model.HppUser;
import com.itic.system.user.user.persistence.model.HppUserExample;


@IticDBDao
public interface HppUserDao
     extends HppUserMapper,CrudDao<HppUser,HppUserExample> {
    /**
     * 根据OpenId查询用户信息
     * @param openId
     * @return
     */
    HppUser getHppUserByOpenId(String openId);

    /**
     * 根据手机号查询用户信息
     * @param phone
     * @return
     */
    HppUser getUserByPhone(String phone);


}